import { defineConfig } from "vite";
import { BASE_URL } from "./src/config";


export default defineConfig({
    server: {
        proxy: {
            '/api': {
                target: BASE_URL,
                changeOrigin: true,
                rewrite: (path) => path.replace(/^\/api/, '')
            }
        }
    }
})